package com.sh.data.engine.domain.integration.api.http.model.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : changkong
 * @date : 2022/3/11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiHttpAuthParam {
    // 认证方式    noauth, basic, sign, token
    private String authType;

    // basic
    private String authUsername;
    private String authPassword;

    // sign
    private String accessKey;
    private String accessSecret;

    // token
    private String accessToken;

    // 变量缓存key
    private String advancedCacheKey;

    // 资源路径
    private String advancedFileName;

    // 资源路径
    private String advancedFilePath;

    private String advanceClassReference;

    private String advanceMethodName;

    // 变量有效期
    private Date expires;
}
